package cn.stylefeng.guns.sys.modular.tao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 积分比例管理表
 * </p>
 *
 * @author 
 * @since 2019-08-07
 */
@TableName("tao_integral_beliel")
public class IntegralBeliel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    @TableField("name")
    private String name;

    /**
     * 获取积分的比例
     */
    @TableField("integral_beliel")
    private BigDecimal integralBeliel;

    /**
     * 积分消费的比例
     */
    @TableField("pay_beliel")
    private BigDecimal payBeliel;

    /**
     * 是否开启（0、关闭 1、开启）
     */
    @TableField("state")
    private Integer state;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getIntegralBeliel() {
        return integralBeliel;
    }

    public void setIntegralBeliel(BigDecimal integralBeliel) {
        this.integralBeliel = integralBeliel;
    }

    public BigDecimal getPayBeliel() {
        return payBeliel;
    }

    public void setPayBeliel(BigDecimal payBeliel) {
        this.payBeliel = payBeliel;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "IntegralBeliel{" +
        "id=" + id +
        ", name=" + name +
        ", integralBeliel=" + integralBeliel +
        ", payBeliel=" + payBeliel +
        ", state=" + state +
        "}";
    }
}
